<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Moving</title>
<style>
body { text-align:center; }
#viewport2 {
	width:300px;
	height:300px;
	background-color:#000;
	margin-left:auto;
	margin-right:auto;
}
#canvas2 {
	width:630px;
	height:460px;
}
</style>
<script src="../../lib/prototype.js" type="text/javascript"></script>
<script src="../../lib/scriptaculous.js?load=effects" type="text/javascript"></script>
<script src="../../js/moving_canvas.js" type="text/javascript"></script>

<script>
Event.observe(window,'load',function(){
  new Moving({viewport:'viewport2',canvas:'canvas2'});
});
</script>
</head>

<body>

<div id="viewport2">
<div id="canvas2">
  <img src="moving-sample.jpg" />
</div>
</div>

</body>
</html>
